<template>
    <div class="o-main">
        <div class="box">
            <div class="item">
                <div class="left">
                    <img src="/src/assets/image/one.png">
                </div>
                <div class="right">
                    <div class="top">{{ data1.title }}</div>
                    <div class="bottom">{{ data1.data }}</div>
                </div>
            </div>
            <div class="item">
                <div class="left">
                    <img src="/src/assets/image/two.png">
                </div>
                <div class="right">
                    <div class="top">{{ data2.title }}</div>
                    <div class="bottom">{{ data2.data }}</div>
                </div>
            </div>
            <div class="item">
                <div class="left">
                    <img src="/src/assets/image/three.png">
                </div>
                <div class="right">
                    <div class="top">{{ data3.title }}</div>
                    <div class="bottom">{{ data3.data }}</div>
                </div>
            </div>
            <div class="item">
                <div class="left">
                    <img src="/src/assets/image/four.png">
                </div>
                <div class="right">
                    <div class="top">{{ data4.title }}</div>
                    <div class="bottom">{{ data4.data }}</div>
                </div>
            </div>
            <div class="item">
                <div class="left">
                    <img src="/src/assets/image/five.png">
                </div>
                <div class="right">
                    <div class="top">{{ data5.title }}</div>
                    <div class="bottom">{{ data5.data }}</div>
                </div>
            </div>
            <div class="item">
                <div class="left">
                    <img src="/src/assets/image/sex.png">
                </div>
                <div class="right">
                    <div class="top">{{ data6.title }}</div>
                    <div class="bottom">{{ data6.data }}</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
const props = defineProps({
    data: Object
})
const { data1, data2, data3, data4, data5, data6 } = props.data
</script>
<style lang="scss" scoped>
.o-main {
    // height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 73px;

    .item:first-child {
        margin-top: 0;
    }

    .item:last-child {
        margin-bottom: 0;
    }

    .item {
        margin: 39px 0;
        display: flex;
        align-items: center;

        .left {
            margin-right: 13px;

            img {
                width: 50px;
                height: 50px;
            }
        }

        .right {
            .top {
                font-family: Source Han Sans, Source Han Sans;
                font-weight: 400;
                font-size: 14px;
                color: #C8D2DC;
            }

            .bottom {
                font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
                font-weight: 900;
                font-size: 48px;
                color: #24BAFF;
                font-style: italic;
                text-transform: none;
            }
        }
    }
}
</style>